const {ccclass, property} = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {

    // LIFE-CYCLE CALLBACKS:
    //用户id
    uid = '';
    //用户签名
    wx_encryptedData = '';           
    //用户加密
    wx_iv = '';                      
    //微信昵称
    wx_name = '';                    
    //微信头像
    wx_image = '';
    //union   
    wx_rawData = '';
    wx_signature = '';
    //分享的标题
    wx_share_title = '';        
    //分享的图片
    wx_share_image = '';  
    //背景音乐
    back_music = '';
    //游戏的推广，其他的游戏  
    more_game = '';  
    onLoad () {
        this.uid = cc.game_config.uid;
        this.wx_encryptedData = cc.game_config.wx_encryptedData;
        this.wx_iv = cc.game_config.wx_iv; 
        this.wx_name = cc.game_config.wx_name; 
        this.wx_image = cc.game_config.wx_image;
        this.wx_rawData = cc.game_config.wx_rawData;
        this.wx_signature = cc.game_config.wx_signature;
        this.wx_share_title = cc.game_config.share_title;
        this.wx_share_image = cc.game_config.share_image; 
        this.back_music = cc.game_config.back_music;   
        this.more_game = cc.game_config.more_game;  
    }

    start () {

    }

    // update (dt) {}
}
